package com.hundsun.finance.service;

import org.springframework.stereotype.Service;
import org.tinygroup.tinyscript.tree.impl.TreeDataNode;
import com.hundsun.finance.script.TinyScriptRunner;

@Service("helloService")
public class HelloServiceImpl  extends TinyScriptRunner implements HelloService{

	public TreeDataNode helloworld(String name) throws Exception {
		TreeDataNode dataNode = (TreeDataNode) getScriptEngine().execute("HelloService", "helloworld", name);
		return dataNode;
	}

}
